package com.com.effectivejava.objectcreation;

/**
 * Created by User on 04/07/2014.
 */
public class FinalizeMethod {

    //when the guardian is finalized, it performers the finalization activity
    // desired for the enclosing instance.
    private final Object finalizerGuardian = new Object(){
        @Override
        protected void finalize() throws Throwable {
            //Finalize the outer class.
        }
    };

    public static void main(String... a){
        FinalizeMethod outer = new FinalizeMethod();

    }

}
